package com.namecard.namecardapi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author wzx
 */
@TableName(value = "card_order_info",autoResultMap = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CardOrderInfo {


    /**
     * id
     */
    private Long id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 名片集合
     */
    @TableField(value="card_list",typeHandler = FastjsonTypeHandler.class)
    private String cardList;

}
